import React, { Component } from 'react';
import { Button, DatePicker } from 'antd';
import { WechatOutlined, SearchOutlined } from '@ant-design/icons'
import 'antd/dist/antd.css'

function onChange(date, dateString) {
  console.log(date, dateString);
}
export default class App extends Component {
  render() {
    return (
      <div>
        <br />
        <Button type="primary">Primary Button</Button>
        <br />
        <WechatOutlined />
        <br />
        <Button type="primary" icon={<SearchOutlined />}>
          Search
        </Button>
        <br />
        <DatePicker onChange={onChange} />
      </div>
    );
  }
}